package com.example.chat.service;

import com.example.chat.model.vo.TokenInfoVo;

public interface JwtService {

    /**
     * @description: 生成JWT令牌
     * @author YaXing
     * @date 2022/3/21 16:08
     */
    String getToken(TokenInfoVo tokenInfoVo);

    /**
     * @description: 解析JWT令牌
     * @author YaXing
     * @date 2022/3/21 16:08
     */
    TokenInfoVo unSignToken(String token);


    String signAppAssetToken(String appAssetCode);

    String unSignAppAssetToken(String token);
}